<template>

  	<div>

  		分销商排名

  		{{salesRanking}}
  		<!-- <mt-cell v-for="item in statistics" 
  		:title="item.name" 
  		:label="'型号：' + item.attr_name + ' , 销量：' + (item.my_num+item.you_num) + ' ,  自己销售：' + item.my_num + ' , 下级销售：' + item.you_num"
  		is-link >
		  <img slot="icon" :src="pic(item)" width="36" height="36">
		</mt-cell> -->
  	</div>

</template>

<script>

// import { Cell } from 'mint-ui'
import { mapGetters, mapActions } from 'vuex'


export default {
	name: 'statisticsseller',
	data () {
		return {
		}
	},

	computed: {
		...mapGetters([
		    'userdata',
		    'salesRanking',
		]),

		
	},

	methods: {
		
		
	},

	created () {

		// this.$store.dispatch('unSellerList');
		this.$store.dispatch('salesRanking', {
			'level_code' : this.$route.query.level_code,
			'fx_level' : this.$route.query.fx_level,
			'sale_code' : this.$route.query.sale_code,
			'attr_id' : this.$route.query.attr_id,
		});

	},


}
</script>

<style scoped>

.more {
	width: 100%;
	height: 50px;
	line-height: 50px;
	float: left;
	text-align: center;
}

</style>
